//处理路径拼接;
export const handlerPathJoin = (paths) => {
  let str = "";
  paths.forEach((item) => {
    const url = item.trim();
    if (url) {
      if (url.startsWith("/")) {
        str += url;
      } else {
        str += `/${url}`;
      }
    }
  });
  return str;
};
